<template>
  <div>
    <van-nav-bar title="联系">
      <template #right> </template>
    </van-nav-bar>
    <div class="tab">
      <van-grid square :border="false">
        <van-grid-item
          v-for="value in 6"
          :key="value"
          icon="photo-o"
          text="文字"
        />
      </van-grid>
    </div>

    <div class="recent">
      <p class="title">
        <font style="vertical-align: inherit"
          ><font style="vertical-align: inherit">近期考</font></font
        >
      </p>
      <div class="title2">
        <span class="span1"
          ><font style="vertical-align: inherit"
            ><font style="vertical-align: inherit">默认示例</font></font
          ></span
        ><span class="span2"
          ><font style="vertical-align: inherit"
            ><font style="vertical-align: inherit">时间</font></font
          ></span
        >
      </div>
      <img src="http://xl.9yuecloud.com/assets/img/empty@2x.a2fa524d.png" alt="" />
      <div>
        <font style="vertical-align: inherit"
          ><font style="vertical-align: inherit">暂无安排，观看</font></font
        >
      </div>
    </div>
  </div>
</template>
  
  <script>
export default {};
</script>
  
  <style scoped lang="scss">
.tab {
  width: 95%;
  margin: 0.4rem auto;
  height: 4.773rem;
  background: #fff;
  border-radius: 0.133rem;
}
.recent {
  font-size: 12px;
  width: 100%;
  height: 6.4rem;
  background: #fff;
  text-align: center;
  .title {
    font-size: 0.427rem;
    text-align: left;
    padding: 0.267rem 0.267rem;
    padding-bottom: 0;
    color: #8c8c8c;
  }
  .title2 {
    font-size: 12px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    .span1{
    padding: 0 .267rem;
    color: rgb(235, 97, 0);
    }
    .span2{
      padding: 0 .267rem;
    }
  }
  img{
    text-align: center;
    width: 30%;
    height: 3.733rem;
  }
}
</style>